/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cput.tp.patterns.structural.decorator;

/**
 *
 * @author Malotana
 */
public class LegDecorator extends AnimalDecorator{
    public LegDecorator(Animal animal){
        super(animal);
    }
    
    @Override
    public void describe() {
       animal.describe();
        System.out.println("I hava legs");
        dance();
    }

    private void dance() {
        System.out.println("I can dance");
    }
}
